﻿using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;

namespace Module.Common.PubEvent
{
    /// <summary>
    /// 模块类订阅消息事件
    /// </summary>
    public class ModuleMessageEvent : PubSubEvent<ModuleMessage>
    {
        public ModuleMessageEvent()
        {

        }
    }

    /// <summary>
    /// 模块类订阅消息的内容
    /// </summary>
    public class ModuleMessage: MessageBass
    {
        public int Id { get; set; }
        public int BufferRow { get; set; }
        public int BufferCol { get; set; }
        public int NewRow { get; set; }
        public int NewCol { get; set; }
        public int DieQz { get; set; }
        public ModuleMessage()
        {
            base.SetTimeStamp();
            //MessageEventName = this.GetType().Name;
        }
    }
}
